Hi, I read the topic here And now I need service that have Object (Doors Object) as argument:
Object is predefined Doors type and I think that this is possible. Tell me if I am wrong. But then how to call such a service. Is this code relevant in this case? Or how to modify it:
Dinio - Tue Dec 08 07:30:24 EST 2015 |
Re: How to create service with Object argument in Doors 9.5.1.2? No, you cannot use a DOORS native type as the parameter for the function. The function can accept only one string value. So you can send in your input as comma delimited values, or some other format which you can then handle within your function to manipulate further. |
Re: How to create service with Object argument in Doors 9.5.1.2? SudarshanRao - Tue Dec 08 07:37:59 EST 2015 No, you cannot use a DOORS native type as the parameter for the function. The function can accept only one string value. So you can send in your input as comma delimited values, or some other format which you can then handle within your function to manipulate further.
Ok but I need to create a function that creates new Object, how can I call this OSLC DXL service if I can pass only strings? One object can have over 1000attributes,how to pass all of them? |
Re: How to create service with Object argument in Doors 9.5.1.2? Dinio - Tue Dec 08 07:41:49 EST 2015
Ok but I need to create a function that creates new Object, how can I call this OSLC DXL service if I can pass only strings? One object can have over 1000attributes,how to pass all of them?
Sorry, I don't have a better answer.. Maybe you can consider passing it as a json string, and then parsing it within your function.. From effort perspective, maybe similar to csv, unless you consider it as an advantage atleast in constructing the input string. |